import Vue from 'vue'
import Router from 'vue-router'
import regionForm from '@/pages/regionForm/regionForm'
import list from '@/pages/regionList/list'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'list',
      component: list
    },
    {
      path: '/add',
      name: 'regionForm',
      component: regionForm
    }
  ]
})
